#ifndef DRAGWIDGET_H
#define DRAGWIDGET_H

#include <QFrame>
class QDragEnterEvent;
class QDropEvent;

class DragWidget : public QFrame
{
    public:
        DragWidget(QWidget *parent, QPixmap * pixmap, int size);

    protected:
        void dragEnterEvent(QDragEnterEvent *event);
        void dragMoveEvent(QDragMoveEvent *event);
        void dropEvent(QDropEvent *event);
        void mousePressEvent(QMouseEvent *event);
};

#endif // DRAGWIDGET_H
